Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
resampler_profile.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Roc authors
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 */
8
9//! @file roc_audio/resampler_profile.h
10//! @brief Resampler profile.
11
12#ifndef ROC_AUDIO_RESAMPLER_PROFILE_H_
13#define ROC_AUDIO_RESAMPLER_PROFILE_H_
14
15#include "roc_audio/resampler.h"
16
17namespace roc {
18namespace audio {
19
20//! Resampler parameters presets.
22 //! Low quality, fast speed.
24
25 //! Medium quality, medium speed.
27
28 //! Hight quality, low speed.
30};
31
32//! Get parameters for given resampler profile.
34
35} // namespace audio
36} // namespace roc
37
38#endif // ROC_AUDIO_RESAMPLER_PROFILE_H_
ResamplerConfig resampler_profile(ResamplerProfile profile)
Get parameters for given resampler profile.
ResamplerProfile
Resampler parameters presets.
@ ResamplerProfile_Low
Low quality, fast speed.
@ ResamplerProfile_High
Hight quality, low speed.
@ ResamplerProfile_Medium
Medium quality, medium speed.
Root namespace.
Resampler.
Resampler parameters.
Definition: resampler.h:28